﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000705 RID: 1797
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetGachaInfoCsReq : IMessage<GetGachaInfoCsReq>, IMessage, IEquatable<GetGachaInfoCsReq>, IDeepCloneable<GetGachaInfoCsReq>, IBufferMessage
	{
		// Token: 0x1700170E RID: 5902
		// (get) Token: 0x060050E7 RID: 20711 RVA: 0x000DC00E File Offset: 0x000DA20E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetGachaInfoCsReq> Parser
		{
			get
			{
				return GetGachaInfoCsReq._parser;
			}
		}

		// Token: 0x1700170F RID: 5903
		// (get) Token: 0x060050E8 RID: 20712 RVA: 0x000DC015 File Offset: 0x000DA215
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetGachaInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001710 RID: 5904
		// (get) Token: 0x060050E9 RID: 20713 RVA: 0x000DC027 File Offset: 0x000DA227
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetGachaInfoCsReq.Descriptor;
			}
		}

		// Token: 0x060050EA RID: 20714 RVA: 0x000DC02E File Offset: 0x000DA22E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoCsReq()
		{
		}

		// Token: 0x060050EB RID: 20715 RVA: 0x000DC036 File Offset: 0x000DA236
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoCsReq(GetGachaInfoCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060050EC RID: 20716 RVA: 0x000DC04F File Offset: 0x000DA24F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGachaInfoCsReq Clone()
		{
			return new GetGachaInfoCsReq(this);
		}

		// Token: 0x060050ED RID: 20717 RVA: 0x000DC057 File Offset: 0x000DA257
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetGachaInfoCsReq);
		}

		// Token: 0x060050EE RID: 20718 RVA: 0x000DC065 File Offset: 0x000DA265
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetGachaInfoCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x060050EF RID: 20719 RVA: 0x000DC084 File Offset: 0x000DA284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060050F0 RID: 20720 RVA: 0x000DC0AA File Offset: 0x000DA2AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060050F1 RID: 20721 RVA: 0x000DC0B2 File Offset: 0x000DA2B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060050F2 RID: 20722 RVA: 0x000DC0BB File Offset: 0x000DA2BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060050F3 RID: 20723 RVA: 0x000DC0D4 File Offset: 0x000DA2D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060050F4 RID: 20724 RVA: 0x000DC0FA File Offset: 0x000DA2FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetGachaInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060050F5 RID: 20725 RVA: 0x000DC117 File Offset: 0x000DA317
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060050F6 RID: 20726 RVA: 0x000DC120 File Offset: 0x000DA320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001FC5 RID: 8133
		private static readonly MessageParser<GetGachaInfoCsReq> _parser = new MessageParser<GetGachaInfoCsReq>(() => new GetGachaInfoCsReq());

		// Token: 0x04001FC6 RID: 8134
		private UnknownFieldSet _unknownFields;
	}
}
